﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Passageways.Modules.Rolodex
{
	/// <summary>
	/// Represents the address of a contact.
	/// </summary>
	[Serializable]
	public class Address
	{
		private string m_AddressLine1;
		private string m_AddressLine2;
		private string m_City;
		private string m_State;
		private string m_Zip;

		/// <summary>
		/// Gets or sets the first line the address of the contact.
		/// </summary>
		public string AddressLine1
		{
			get { return m_AddressLine1; }
			set { m_AddressLine1 = value; }
		}

		/// <summary>
		/// Gets or sets the second line of the address of the contact.
		/// </summary>
		public string AddressLine2
		{
			get { return m_AddressLine2; }
			set { m_AddressLine2 = value; }
		}

		/// <summary>
		/// Gets or sets the city in which the contact resides.
		/// </summary>
		public string City
		{
			get { return m_City; }
			set { m_City = value; }
		}

		/// <summary>
		/// Gets or sets the state in which the contact resides.
		/// </summary>
		public string State
		{
			get { return m_State; }
			set { m_State = value; }
		}

		/// <summary>
		/// Gets or sets the zip code in which the contact resides.
		/// </summary>
		public string Zip
		{
			get { return m_Zip; }
			set { m_Zip = value; }
		}
	}
}